package com.dhl;

import com.dhl.config.Config;
import com.dhl.service.UserService;

/**
 * @author danghailiang
 * @date 2023年01月16日 9:56
 */
public class Application {
    public static void main(String[] args) {
        SpringApplicationContent springApplicationContent = new SpringApplicationContent(Config.class);
        UserService userService = (UserService) springApplicationContent.getBean("userService");
        userService.printTest();
//        System.out.println(springApplicationContent.getBean("userService"));
//        System.out.println(springApplicationContent.getBean("userService"));
//        System.out.println(springApplicationContent.getBean("userMapper"));
//        System.out.println(springApplicationContent.getBean("userMapper"));
    }
}
